package itheima.com.zuoye.d05;

public class Player extends sportsPersonnel {
    private String learnerNumber;
    private String ClassInWhichYouAreIn;

    @Override
    public void eat() {
        System.out.println(getName()+"吃营养餐");
    }
    public Player(String name, String sex, int age, String learnerNumber, String ClassInWhichYouAreIn) {
        super(name, sex, age);
        this.learnerNumber = learnerNumber;
        this.ClassInWhichYouAreIn = ClassInWhichYouAreIn;
    }
    public Player() {
    }
    public String getLearnerNumber() {
        return learnerNumber;
    }
    public void setLearnerNumber(String learnerNumber) {
        this.learnerNumber = learnerNumber;
    }
}
